home *** CD-ROM | disk | FTP | other *** search
- RULER
-
- Opens a borderless WorkBench window in which is contained a ruler
- for the purpose of aligning or constraining text; the default ruler
- is 30 characters with an 8 pixel scale and is intended to help
- prevent entering too-long filenames.
-
- Usage:
-
- CLI> RUN RULER [ size ] [ scale ]
-
- where `size' is the number of ruler markings, and `scale' is the
- width between each marking (a particular font width for example).
-
- Evoking the command with an argument of "?", such as:
-
- CLI> RULER ?
-
- will print out a help message detailing what values are valid for
- your particular Workbench environment.
-
-
- The window, of course, can be moved to any convenient location on the
- screen, and resized with an invisible resizing gadget found in the
- lower right corner.
-
- Version 4.0 29-Dec-1989 (copyright)1989 Chad Netzer and Thad Floryan
-
- Based upon code, idea, and logic from:
-
- Version 1.0 7-Nov-1988 (copyright)1988 Thad Floryan
-
- Revision history:
- 29-December-1989 - (Ver. 4.0) - Added an offset so that you can
- just stick the window on the left edge of the workbench screen,
- and it will automatically be lined up with the characters.
- Fixed some more minor bugs and rearranged the code a bit.
- Added ARP support for those who want it. (CFN)
-
- 09-March-1989 - (Ver. 3.1) - Fixed a visual bug so that scale can
- no longer be less than eight. (CFN)
-
- 06-Dec-1988 - (Ver. 3.0) - Added support for measuring fonts of
- varying widths (selectable scale). (CFN)
-
- 22-Nov-1988 - (Ver. 2.2) - More adjustments to code, No major
- changes. Program size is slightly smaller. (CFN)
-
- 14-Nov-1988 - (Ver. 2.1) - Fixed a few minor (harmless) bugs. The
- right edge of the ruler is now always redrawn after resizing.
- I got rid of that GOTO statement (which in 'C', is considered a
- bug. :-) Version 2.1 now lets you open a ruler to be as low as
- 12 characters wide, which 2.0 only advertised. (CFN)
-
- 13-Nov-1988 - (Ver. 2.0) - I added minor enhancements, most
- noteably, the ability to resize the window, and support for
- overscanned screens. (CFN)
-
-
- Feel welcome to use this program for any non-commercial purposes or
- for your personal learning. Commercial users are requested to contact
- Thad at either:
-
- UUCP: thad@cup.portal.com (OR) ..!sun!portal!cup.portal.com!thad
- BBS: BBS-JC, 415/961-7250 (300/1200/2400), "Thad Floryan" | "SYSOP"
-
- or Chad at:
-
- UUCP: chad@ucscb.ucsc.edu (during school term)
- UUCP: chad@cup.portal.com (holidays, summer, etc.)
- BBS: BBS-JC, 415/961-7250 (300/1200/2400), "Chad Netzer"
-
-
- Building instructions (Manx Aztec C):
-
- ************************
- *** Non-ARP Version ***
- ************************
-
- cc ruler4
- ln ruler4 -lc
-
-
- *******************
- *** ARP Version ***
- *******************
-
- cc arpruler4
- ln arpruler4 -la -lc
-